* {
    margin: 0;
    padding: 0;
}
.w {
    width: 1200px;
    margin: auto;
}
body {
    background-color: #f3f5f7;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
}
.clearfix:before,.clearfix:after {
    content:"";
    display:table; 
  }
  .clearfix:after {
    clear:both;
  }
  .clearfix {
     *zoom:1;
  }   
 

/* 小客服图标 */
.service {
	height: 162px;
	width: 140px;
	position: fixed;
	right: 1%;
	top: 40%;
	z-index: 1;
}

.service li {
	list-style-type: none;
}

.service ul {
	list-style-type: none;
	display: none;
}


.service ul li {
	width: 50%;
	margin-left: 10%;
	padding-bottom: 2px;
}

.service li:hover ul {
	display: block;
}

.service li ul li:hover {
	height: 70%;
	width: 70%;
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	-ms-transition: all 0.3s ease 0s;
	-o-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}

.head {
	height: 54px;
	width: 100%;
	background-color: #393d49;
	/* overflow: hidden; */
}
/* 导航栏 */
.nav {
	height: 54px;
	float: right;
	margin-right: 50px;
	z-index: 1;
}

.header {
    height: 42px;
    /* background-color: pink; */
    /* 注意此地方会层叠 w 里面的margin */
    margin: 30px auto;
}

/* 小招牌 */
.signboard {
	float: left;
	height: 54px;
	width: 19%;
	font-size: 16px;
	line-height: 50px;
	font-weight: bold;
	color: rgb(255, 255, 255);
	background-image: url(../images/banzi.png);
	text-align: center;
	background-repeat: no-repeat;
	background-position: center;
}

.signboard a {
	color: rgba(255, 255, 255, 1);
}

.logo {
    float: left;
    width: 198px;
    height: 42px;
}


/* search搜索模块 */
.search {
    float: right;
    /* width: 48%; */
    height: 42px;
	margin-top: 10px;
    margin-right: 80px;
}
.search input {
    float: left;
    width: 430px;
    height: 35px;
    border: 1px solid #393d49;
    border-right: 0;
    color: #bfbfbf;
    font-size: 14px;
    padding-left: 15px;
}
.search button {
    float: left;
    width: 50px;
    height: 37px;
    /* 按钮button默认有个边框需要我们手动去掉 */
    border: 0;
    background: url(/images/btn.png);
    background-size: cover;
}

/* 导航栏右上角的信息 */
.User {
	height: 54px;
	width: 20%;
	float: right;
	padding-right: 80px;

}

.User div {
	float: left;
	height: 49px;
	width: 20%;
	padding-right: 5px;
	padding-top: 5px;
	font-size: 11px;
	text-align: center;
	font-weight: bolder;
}
.User div a:link img {
	opacity: 0.5;
}

.User div a:hover img {
	opacity: 1;
}
.User-l{
	float: left;
	padding-top: 5px;
	width: 6%;
	/* padding-right: 10px; */
	height: 54px;
}


.nav {
    float: left;
    margin-left: 60px;
}
.nav ul li {
    float: left;
    margin: 0 15px;
}
.nav ul li a {
    display: block;
    height: 42px;
    padding: 0 10px;
    line-height: 42px;
    font-size: 18px;
    color: #050505;   
}
.nav ul li a:hover {
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff;
}

.user {
    float: right;
    line-height: 42px;
    margin-right: 30px;
    font-size: 14px;
    color: #666;
}

/* 精品推荐模块 */
.goods {
    height: 60px;
    background-color: #fff;
    margin-top: 10px;
    box-shadow: 0 2px 3px 3px rgba(0,0,0, 0.1); 
    /* 行高会继承， 会继承给3个孩子 */
    line-height: 60px;
}
.goods h3 {
    float: left;
    margin-left: 30px;
    font-size: 16px;
    color: #00a4ff;
}
.goods ul {
    float: left;
    margin-left: 30px;
}
.goods ul li {
    float: left;
}
.goods ul li a {
    padding: 0 30px;
    font-size: 16px;
    color: #050505;
    border-left: 1px solid #ccc;
}
.mod {
    float: right;
    margin-right: 30px;
    font-size: 14px;
    color: #00a4ff;
}
.box {
    margin-top: 30px;
}
.box-hd {
    height: 45px;
}
.box-hd h3 {
    float: left;
    font-size: 20px;
    color: #494949;
}
.box-hd a {
    float: right;
    font-size: 12px;
    color: #a5a5a5;
    margin-top: 10px;
    margin-right: 30px;
}
/* 把li 的父亲ul 修改的足够宽一行能装开5个盒子就不会换行了 */
.box-bd ul {
    width: 1225px;
}
.box-bd ul li {
    float: left;
    width: 228px;
    height: 270px;
    background-color: #fff;
    margin-right: 15px;
    margin-bottom: 15px;
   
}
.box-bd ul li .model{
    position: relative;
    overflow: hidden;
    height: 170px;
    color: #fff;
}
.box-bd ul li .model .shopping{
    position: absolute;
    top: 180px;
    width: 100%;
    height: 100%;
    line-height: 90px;
    text-align: center;
    background-color: rgb(0, 0, 0,.5);
    transition: top ease 0.6s 0s;
}
.box-bd ul li .model:hover .shopping{
    top: 0;
    transition: top ease 1s 0s;

}

.shopping div{
    width: 50px;
    margin: 40px auto;
    cursor:pointer;
}

.box-bd ul li img {
    width: 100%;
    transition: 1.2s;
}
.box-bd ul li:hover img{
    transform: scale(1.2);
}
.box-bd ul li h4 {
    margin: 20px 20px 20px 25px;
    font-size: 14px;
    color: #050505;
    font-weight: 400;
}
.box-bd .info {
    margin: 0 20px 0 25px;
    font-size: 12px;
    color: #999;
}
.box-bd .info span {
    color: #ff7c2d;
}

.order{
	margin-top: 15px;
	margin-right: 15px;
}

.footer {
	padding-top: 20px;
	width: 100%;
    background-color: #fff;
	text-align: center;
	margin-top: 20px;
	opacity: 0.7;
}